package com.itheima.service;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetMealService {

    //添加新的检查套餐
    public void addNewSetMeal(Setmeal setmeal, Integer[] checkgroupIds);

    //分页查询
    public PageResult findPage(QueryPageBean queryPageBean);

    //查询所有的检查套餐
    public List<Setmeal> getSetMeal();

    //根据id查询套餐
    public Setmeal findById(Integer id);

    //查询套餐的名称及数量
    public List<Map<String,Object>>findSetmealCount();

}
